package com.zhuiyun.project.api.plan.fitnessPlanAction.model;

import com.zhuiyun.project.api.plan.fitnessAction.model.FitnessActionModel;
import com.zhuiyun.project.api.plan.fitnessPlan.model.FitnessPlanModel;
import com.zhuiyun.project.api.plan.fitnessPlanActionCount.entity.FitnessPlanActionCount;
import com.zhuiyun.project.api.plan.fitnessPlanActionCount.model.FitnessPlanActionCountModel;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author 杨珅
 * @Description TODO 计中动作实体类
 * @Date 2023/11/2 8:58
 * @Return  * @param null
 */
@Data
@Table(name ="fitness_plan_action")
@ToString
public class FitnessPlanActionModel implements Serializable {
    private static final long serialVersionUID = 408009146095215480L;
    /**
     * 健身计划动作(杨珅)
     */
    private Integer id;
    /**
     * 健身计划绑定id（外键）
     */
    private Integer fitnessPlanId;
    /**
     * 唯一标识符

     */
    private String venueUniqueIdentifier;
    /**
     * 动作绑定id（外键）
     */
    private Integer fitnessActionId;
    /**
     * 动作绑定id（外键）
     */
    private String fitnessActionTime;
    /**
     * 动作消耗热量
     */
    private Integer fitnessActionExpend;
    /**
     * 动作总组数
     */
    private Integer fitnessActionCountAll;
    /**
     * 动作总组数
     */
    private String fitnessActionCount;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 启用状态（0启用，1禁用）状态
     */
    private String enableStatus;
    /**
     * 动作视频
     */
    private String fitnessActionVideo;
    /**
     * 删除标识(0显示，1删除)

     */
    private Integer delFlag;
    /**
     * 动作名称
     */
    @Transient
    private String fitnessActionName;
    @Transient
    private String fitnessTypeName;
    @Transient
    private Integer fitnessTypeId;

    @Transient
    private Integer fitnessPurposeId;
    @Transient
    private List<FitnessPlanActionCount> group;
}

